home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / 4dos / 4dos401p.zip / BRAND4.BTM < prev    next >
Text File  |  1992-06-08  |  2KB  |  64 lines

  1. : BRAND4.BTM
  2. :
  3. :     Batch file to use a valid 4DOS3.x BRAND.EXE with 4DOS 4.01
  4. :     Please see file README.DOC for usage.
  5. :
  6. @echo off
  7. *setlocal^unalias *^unset *^cls
  8. echo %@upper[%0]:
  9. :
  10. text
  11.  
  12.     This batch file will allow you to use a valid 4DOS version 3 BRAND.EXE
  13.     on the 4DOS 4.01 file 4DOS.COM.  Please see README.DOC in your 4DOS
  14.     4.01 documentation for details of usage.
  15.  
  16.     ■ BRAND.EXE must be in the current directory
  17.     ■ 4DOS.COM version 4.x must be in the current directory
  18. endtext
  19. if "%_4ver" ne "" echo `    `■ Obsolete files 4DOS88.EXE and 4DOS286.EXE must not be present
  20. text
  21.  
  22.     When BRAND prompts for a serial number, you must use the 6-digit serial
  23.     number from the label of your version 3 registered disk.
  24.  
  25. endtext
  26. iff not exist brand.exe then
  27.   echo `         `Missing BRAND.EXE !^ goto 9
  28. elseiff "%_4ver" ne "" then
  29.   iff %@date[%@filedate[4dos.com]]. lt 4320. .or. %@filesize[4dos.com,k]. lt 100. then
  30.     echo `         `Missing or invalid 4DOS.COM ! ^goto 9
  31.   elseiff exist 4dos88.exe .or. exist 4dos286.exe  then
  32.     echo `         `4DOS88.EXE and/or 4DOS286.EXE found ! - Aborting ^ goto 9
  33.   endiff
  34. elseiff not exist 4dos.com then
  35.     echo `         `Missing 4DOS.COM ! ^goto 9
  36. endiff
  37. if exist 4dos286.exe ren /q 4dos286.exe *.jps
  38. ren /q 4dos.com 4dos286.exe || goto 8
  39. brand.exe
  40. ren /q 4dos286.exe 4dos.com || goto 8
  41. if exist 4dos286.old ren /q 4dos286.jps *.exe
  42. text
  43.  
  44.   If you see the messages:
  45.  
  46.              "Cannot brand 4DOS88.EXE"
  47.              "4DOS286.EXE branded successfully"
  48.  
  49.   above, your copy of 4DOS 4.01 has been branded properly. If BRAND gave
  50.   you a "brand installation error", it may be because you were not
  51.   eligible for another free upgrade.  See README.DOC for information on
  52.   upgrade eligiblity.  If you see no message from BRAND at all, you
  53.   entered an incorrect serial number.
  54.  
  55. endtext
  56. quit
  57. :8
  58. echo `         `Could not rename 4DOS.COM !
  59. :9
  60. beep ^ echo `         `Correct the problem and try again.
  61. :
  62. : provided by JP Software, PO Box 1470, E.Arlington, MA 02174, USA
  63.  
  64.